cmake_minimum_required(VERSION 3.0.0)#版本号

project(hello)#项目名称

set(EXECUTABLE_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/bin)
#   生成的可执行文件存储路径   项目的根目录

include_directories(${PROJECT_SOURCE_DIR}/include/)
include_directories(${PROJECT_SOURCE_DIR}/include/json.h)
include_directories(${PROJECT_SOURCE_DIR}/include/logger/)#包括这个路径下面的头文件，不包括这个路径下面的文件夹里面的头文件
include_directories(${PROJECT_SOURCE_DIR}/include/utils/)
include_directories(${PROJECT_SOURCE_DIR}/include/thread/)
include_directories(${PROJECT_SOURCE_DIR}/include/threadPool/)
include_directories(${PROJECT_SOURCE_DIR}/include/reactor/)
include_directories(${PROJECT_SOURCE_DIR}/include/view/)
include_directories(${PROJECT_SOURCE_DIR}/include/controller/)
include_directories(${PROJECT_SOURCE_DIR}/include/mainServer/)
include_directories(${PROJECT_SOURCE_DIR}/include/mysqldb/)
include_directories(${PROJECT_SOURCE_DIR}/include/redis/)
include_directories(${PROJECT_SOURCE_DIR}/include/dbConnectionPool/)
add_subdirectory(src)



# include_directories(${PROJECT_SOURCE_DIR}/include/logger)

# add_subdirectory(src)
